<?php

// $Id$

/* Database settings */
/* ----------------- */
	$CFG_HOSTNAME = 'DB_HOST';
	$CFG_USERNAME = 'DB_USER_NAME';
	$CFG_PASSWORD = 'DB_PASS_WORD';
	$CFG_DATABASE = 'DB_NAME';


/* Table settings */
/* -------------- */
	$prefix = ''; // 'go_'; // table name prefix

	define('T_CHAT'   , $prefix . 'chat');   // the in-game chat/personal notes table
	define('T_GAME'   , $prefix . 'game');   // the game data table
	define('T_PLAYER' , $prefix . 'player'); // the player data table
	define('T_TALK'   , $prefix . 'talk');   // the player messaging table


/* Server / Site settings */
/* ---------------------- */
	$CFG_ADMIN       = 'Admin'; // the admin's username (case sensitive)

	$CFG_HOMEPAGE    = 'http://'.$_SERVER['HTTP_HOST'].'/iShudan/'; // The home page of the iShudan script (include closing / )

	$CFG_SITENAME    = 'WEBSITE NAME'; // The name of your website

	$CFG_EXPIREGAME  = 45; // Number of days before untouched games are deleted (0 to disable)

	$CFG_MAILADDRESS = 'admin@'.$_SERVER['HTTP_HOST']; // Email address people see when receiving iShudan generated mail

	$CFG_MAXUSERS    = 50; // Maximum number of users allowed (0 to disable)

	$CFG_NEWUSERS    = true; // (true / false) Whether a new user can register

	$CFG_LONGDATE    = '%Y.%m.%d'; // MySQL date format (much like PHP date formatting with leading %)

	$CFG_SHORTDATE   = '%Y.%m.%d'; // MySQL date format
	
	$CFG_SITELINKS   = // place your site links in the line below or leave blank
		'<script type="text/javascript" src="/scripts/links.js"></script>';


/* MySQL Error Handling settings */
/* ----------------------------- */
// The following defines are required by the mysql.class.php file
// and the class will break if they are not defined...
// so don't comment out, delete, or otherwise remove the following

	define ('DB_ERR_EMAIL_ERRORS', true); // (true / false) set to true to email errors to admin address
	define ('DB_ERR_LOG_ERRORS'  , true); // (true / false) set to true to log errors in mysql.err file
	define ('DB_ERR_TO'          , 'admin@'.$_SERVER['HTTP_HOST']); // set to your email address
	define ('DB_ERR_SUBJECT'     , 'iShudan Query Error'); // don't really need to change this
	define ('DB_ERR_FROM'        , $CFG_MAILADDRESS); // don't really need to change this
	define ('FILE_PATH_END'      , '/iShudan/'); // the name of the directory containing the script (with wrapping / )


/* Debugging settings */
/* ------------------ */
// The following allows for debugging output from the MySQL class
// Set to true to enable and false to disable debugging output
// they can also be set to follow the DEBUG setting (set in global.inc.php)
// because DEBUG is a boolean value

	$DBG_ERROR = DEBUG; // (true / false / DEBUG) output query errors only
	$DBG_QUERY = DEBUG; // (true / false / DEBUG) output every query only
	$DBG_SUPER = false; // (true / false / DEBUG) output function argument data only
	
// Do not modify these lines unless you are developing and know what you are doing
$VERSION = '0.86.20';
$MOD_DATE = '2007.09.14';
?>